//
// Created by jetkey on 18-8-14.
//

#include "my_test.h"

#include <iostream>

#include "log_helper.hpp"

#define APPEND_TEXT  0
#define UPDATE_TEXT  1


bool initText1(void **usrdata, int *fps,Printer print){
    *fps = 10;

    print(0,"init Test1 OK");
    return true;
}

bool stepTest1(void *usrData, char *rgb,char *dep,char *out,int w,int h,Printer print){
    static int x = 0;
    x++;
    print(UPDATE_TEXT,"step ");
    return true;
}

void endTest1(void *usrData,Printer print){
    print(0,"Test 1 end");
}